package com.zqx.spseth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Zqx on 2018/4/26.
 */
@Controller
public class LoginController {

    private static final String LOGIN_PAGE = "login/login";
    /**
     * 跳转登录页面
     *
     */
    @GetMapping("/login")
    public ModelAndView login() {
        ModelAndView view = new ModelAndView(LOGIN_PAGE);
        return view;
    }
}
